body {
  height: 100%;
  overflow-y: hidden;
  background-color: rgb(248, 248, 248);
}

@import '~codemirror/lib/codemirror.css';

.code-mirror-wrapper .CodeMirror {
  position: absolute;
  height: calc(100vh - 128px);
  width: calc(100% - 32px);
}

.ant-pro-grid-content.wide {
  max-width: unset !important;
  overflow: auto;
  .ant-pro-page-container-children-content {
    overflow: auto;
    height: calc(100vh - 96px);
    background-color: #fff;
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .ant-pro-grid-content.wide {
    .ant-pro-page-container-children-content {
      height: calc(100vh - 144px);
    }
  }
  .code-mirror-wrapper .CodeMirror {
    height: calc(100vh - 176px);
  }
}
